package cn.tedu.hotel.serve.mapper;

import cn.tedu.hotel.serve.pojo.entity.secondary.Banner;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SecondaryBannerMapper {
    List<Banner> select();

    void deleteById(Long id);

    void insertBanner(String url);

    Banner selectById(Long id);

    void update(Banner banner);

}
